package cn.qn.repository.article;

import cn.qn.moudle.article.ArticleMedia;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: Bryant
 * @Date: 2019/5/29
 * @Description:
 */
@Repository
public interface ArticleMediaRepository extends JpaRepository<ArticleMedia, Integer> {

    /**
     * 查询文章多媒体列表
     *
     * @param articleId
     * @return
     */
    List<ArticleMedia> findByArticleId(String articleId);


}
